diff -r -u -N busybox-0.37/Makefile busybox-0.37-flatcap-ul/Makefile --- busybox-0.37/Makefile Thu Nov 25 09:02:23 1999 +++ busybox-0.37-flatcap-ul/Makefile Sat Nov 27 16:11:00 1999 @@ -14,7 +14,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # - +CC=arm-linux-gcc PROG=busybox VERSION=0.37 @@ -64,7 +64,7 @@ else CFLAGS+=-Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE LDFLAGS= -s - STRIP= strip --remove-section=.note --remove-section=.comment $(PROG) + STRIP= arm-linux-strip --remove-section=.note --remove-section=.comment $(PROG) #Only staticly link when _not_ debugging ifeq ($(DOSTATIC),true) LDFLAGS+= --static diff -r -u -N busybox-0.37/busybox.def.h busybox-0.37-flatcap-ul/busybox.def.h --- busybox-0.37/busybox.def.h Thu Nov 25 09:03:25 1999 +++ busybox-0.37-flatcap-ul/busybox.def.h Fri Nov 26 19:58:28 1999 @@ -16,8 +16,8 @@ //#define BB_DUTMP //#define BB_FDFLUSH #define BB_FIND -#define BB_FSCK_MINIX -#define BB_MKFS_MINIX +//#define BB_FSCK_MINIX +//#define BB_MKFS_MINIX #define BB_CHVT #define BB_DEALLOCVT #define BB_GREP @@ -38,7 +38,7 @@ //#define BB_MNC #define BB_MORE #define BB_MOUNT -#define BB_NFSMOUNT +//#define BB_NFSMOUNT //#define BB_MT //#define BB_MTAB #define BB_MV diff -r -u -N busybox-0.37/init.c busybox-0.37-flatcap-ul/init.c --- busybox-0.37/init.c Fri Nov 19 18:52:07 1999 +++ busybox-0.37-flatcap-ul/init.c Sat Nov 27 16:08:01 1999 @@ -50,7 +50,8 @@ #define SHELL "/bin/sh" /* Default shell */ #define INITSCRIPT "/etc/init.d/rcS" /* Initscript. */ #define PATH_DEFAULT "PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin" - +#define BB_CONSOLE_CMD_IF_RC_SCRIPT_EXITS { SHELL, "-" SHELL, 0} + #define LOG 0x1 #define CONSOLE 0x2 static char *console = DEV_CONSOLE;